package com.blog.basic.query;

import lombok.Data;

/**
 * @program: blog
 * @description: 查询
 * @author: Mr.zhao
 * @create: 2022-04-05 19:15
 **/
@Data
public class BasicQuery {
    private Integer currentPage=1;
    private  String keyWords;
    private Integer pageSize=10;


    public Integer getStarter(){
        return (this.currentPage-1)*this.pageSize;
    }
}
